<%@ page language="java" import="java.util.*,java.text.*,yy.*" pageEncoding="UTF-8"%>
  <%
    //session.setMaxInactiveInterval(5);
    Student  student=(Student)session.getAttribute("USER_LOGIN");
    if(student==null){
    	out.print("<script>alert('您还没有登录，请登录');location.replace('login.jsp');</script>");
    	return;
    }
  %>
  <h2>欢迎 <%=student.getSname()%> &nbsp;<a href="dock.jsp">退出</a></h2>
  